import { defineStore } from "pinia";
import { ref, computed } from "vue";
console.log("good");

export default defineStore("usergoodStore", () => {
    const count = ref(60)
    const doubleAge = computed(() => count.value * 2)
    const handleClick = (value) => {
        count.value += value
    }
    return { count, doubleAge, handleClick }
});